//图片处理命令
const cmd = require("commander");
const { imageMinify } = require("./index.js");
cmd
  .command("fileMinify [inDir] [outDir]")
  .description("【图片】压缩文件")
  .action((inDir, outDir) => {
    if (!inDir) {
      console.log("请输入目录");
      return;
    }
    imageMinify(inDir, outDir);
  });
